/**
 * 全局注册需要被复制的组件
 */
import CopyMoveNode from '@/components/CopyMoveNode.vue'
import MfLine from '@/components/copyedComponets/MfLine.vue'
import MfRcet from '@/components/copyedComponets/MfRcet.vue'

interface com {
    [key: string]: any
}
const componets: com = {
    CopyMoveNode,
    MfLine,
    MfRcet
}

function registerComponents(Vue: any) {
    Object.keys(componets).forEach(key => {
        Vue.component(key, componets[key])
    })
}
export default registerComponents